﻿using System;

namespace NetMicro.EventBus.Attributes
{

    /// <summary>
    /// 事件名称定义
    /// </summary>
    [AttributeUsage(AttributeTargets.Class)]
    public class EventNameAttribute : Attribute
    {

        public EventNameAttribute(string name)
        {
            Name = name;
        }
        /// <summary>
        /// 事件名称
        /// </summary>
        public string Name { get; set; }
    }
}
